package com.wenzhi.studentservice.controller;

import com.wenzhi.studentservice.beanuse.MailConfigBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/mailConfigBean")
public class MailConfigBeanController {
    @Autowired
    private MailConfigBean mailConfigBean;

    @RequestMapping("/test")
    public String test() {
        return mailConfigBean.toString();
    }
}
